//
//  PKReadBookModel.m
//  PianKe
//
//  Created by lanou on 15/12/29.
//  Copyright (c) 2015年 KFC. All rights reserved.
//

#import "PKReadBookModel.h"

@implementation PKReadBookModel

-(void)setValue:(id)value forUndefinedKey:(NSString *)key
{
    if ([key isEqualToString:@"counterList"]) {
        
        _comment = value[@"comment"];
        _like = value[@"like"];
    }
    if ([key isEqualToString:@"typename"]) {
        _typeName = value;
    }
    if ([key isEqualToString:@"userinfo"]) {
        
        _desc = value[@"desc"];
        _icon = value[@"icon"];
        _isfollow = value[@"isfollow"];
        _uname = value[@"uname"];
        
    }
    if ([key isEqualToString:@"typeid"]) {
        
        _typeId = value;
    }
    
}


@end
